.class public LBrowser;
.super Ljavax/microedition/midlet/MIDlet;


# static fields
.field private static C:Z

.field public static Code:Z

.field public static I:LBrowser;

.field public static J:Ljavax/microedition/lcdui/Display;

.field public static Z:Lah;


# instance fields
.field private B:Z


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljavax/microedition/midlet/MIDlet;-><init>()V

    return-void
.end method

.method public static Code()V
    .locals 2

    sget-object v0, LBrowser;->I:LBrowser;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, LBrowser;->destroyApp(Z)V

    sget-object v0, LBrowser;->I:LBrowser;

    invoke-virtual {v0}, Ljavax/microedition/midlet/MIDlet;->notifyDestroyed()V

    return-void
.end method


# virtual methods
.method public destroyApp(Z)V
    .locals 2

    const/4 v1, 0x1

    sput-boolean v1, LBrowser;->Code:Z

    sget-object v0, LBrowser;->Z:Lah;

    if-eqz v0, :cond_1

    sget-boolean v0, Lad;->I:Z

    if-eqz v0, :cond_0

    const/4 v0, -0x1

    sput v0, Lad;->J:I

    :cond_0
    invoke-static {v1}, Ln;->Code(Z)V

    const-string v0, "h1"

    sget-object v1, Lah;->aq:Ljava/util/Vector;

    invoke-static {v0, v1}, Ln;->Code(Ljava/lang/String;Ljava/util/Vector;)Z

    sget-boolean v0, Ln;->av:Z

    if-nez v0, :cond_1

    sget-object v0, LBrowser;->Z:Lah;

    iget-object v0, v0, Lah;->as:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    :cond_1
    const/4 v0, 0x0

    sput-boolean v0, LBrowser;->C:Z

    return-void
.end method

.method public pauseApp()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, LBrowser;->B:Z

    return-void
.end method

.method public startApp()V
    .locals 2

    const/4 v1, 0x0

    sput-object p0, LBrowser;->I:LBrowser;

    invoke-static {p0}, Ljavax/microedition/lcdui/Display;->getDisplay(Ljavax/microedition/midlet/MIDlet;)Ljavax/microedition/lcdui/Display;

    move-result-object v0

    sput-object v0, LBrowser;->J:Ljavax/microedition/lcdui/Display;

    iget-boolean v0, p0, LBrowser;->B:Z

    if-eqz v0, :cond_1

    iput-boolean v1, p0, LBrowser;->B:Z

    :cond_0
    :goto_0
    return-void

    :cond_1
    sget-boolean v0, LBrowser;->C:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    sput-boolean v0, LBrowser;->C:Z

    if-nez v1, :cond_0

    new-instance v0, Lah;

    invoke-direct {v0}, Lah;-><init>()V

    goto :goto_0
.end method
